package com.evil.application.pojo.dto.reporting;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 报表类型返回详情
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@Accessors(chain = true)
public class ReportingTypeRespDTO {

    /**
     * 报表名称
     */
    private String name;

    /**
     * 操作权限
     */
    private Boolean showPermission;

    /**
     * 数据范围
     */
    private Boolean showFilter;

    /**
     * 默认排序
     */
    private Boolean showDefaultSort;

    /**
     * 查询条件
     */
    private Boolean showQuery;

    /**
     * 字段权限
     */
    private Boolean showControlPermission;

    /**
     * 备注信息
     */
    private Boolean showRemark;

    /**
     * 报表维度（行、表头）
     */
    private Boolean showReportingHeader;

    /**
     * 报表维度（列）
     */
    private Boolean showReportingColumnHeader;

    /**
     * 指标
     */
    private Boolean showReportingTarget;

    /**
     * 排名
     */
    private Boolean showRanking;

    /**
     * 样式类型
     */
    private Boolean showStyle;

    public ReportingTypeRespDTO(String name) {
        this.name = name;
        this.showPermission = false;
        this.showFilter = false;
        this.showDefaultSort = false;
        this.showQuery = false;
        this.showControlPermission = false;
        this.showRemark = false;
        this.showReportingHeader = false;
        this.showReportingColumnHeader = false;
        this.showReportingTarget = false;
        this.showRanking = false;
        this.showStyle = false;
    }
}
